package com.kyxx.topics.net;

public class UrlUtils {
    public static final String APIHTTP = "http://139.129.108.163:9011";

    public static final String AVATARPATH = APIHTTP + "/data/upload/shop/avatar/";//头像路径

    public static final String IMAGEPATH = APIHTTP + "/data/upload/shop/avatar/";//商品图片路径

    public static final String HOME_ADV = UrlUtils.APIHTTP + "/api/index.php?act=index&op=adv";

    public static final String LOGINFORCODE = UrlUtils.APIHTTP + "/inter.php?s=User/Vlogin";//验证码登录

    public static final String SETPSW = UrlUtils.APIHTTP + "/inter.php?s=User/profile";//设置密码

    public static final String LOGINFORPSW = UrlUtils.APIHTTP + "/inter.php?s=User/Plogin";//密码登录

    public static final String BINDMOBILE = UrlUtils.APIHTTP + "/inter.php?s=User/Bindphone";//第三方绑定手机

    public static final String CHECKPHONE = UrlUtils.APIHTTP + "/inter.php?s=User/Checkphone";//第三方授权成功后检测该用户是否绑定手机

    public static final String CHANGEBINDMOBILE = UrlUtils.APIHTTP + "/inter.php?s=User/ChangeM";//换绑手机

    public static final String UPDATEAVATAR = UrlUtils.APIHTTP + "/inter.php?s=User/Uava";//上传头像,修改昵称



    public static final String THREELOGIN = UrlUtils.APIHTTP + "/shop/index.php?act=api&op=Login";//第三方登录

    public static final String CHANGEUSERINFO = UrlUtils.APIHTTP + "/shop/index.php?act=api&op=ChangeUserInfo";//修改昵称






    public static final String GETCATEGROY = UrlUtils.APIHTTP + "/shop/index.php?act=api&op=GetGoodClassByParentId";//获取分类

    public static final String GETAREAINFO = UrlUtils.APIHTTP + "/shop/index.php?act=api&op=GetAreaInfo";//获取省县乡三级地址

    public static final String REGISTER = UrlUtils.APIHTTP + "/shop/index.php?act=api&op=Register";//注册

    public static final String UPLOADSHOPIMG = UrlUtils.APIHTTP + "/shop/index.php?act=api&op=UploadShopidImg";//上传营业执照

    public static final String MODIFYPSW = UrlUtils.APIHTTP + "/shop/index.php?act=api&op=ChangePassword";//修改密码

    public static final String RESETPSW = UrlUtils.APIHTTP + "/shop/index.php?act=api&op=ResetPassword";//c重置密码

    public static final String GETUSERINFO = UrlUtils.APIHTTP + "/shop/index.php?act=api&op=GetUserInfo";//获取用户信息





    public static final String GETMYVISITLIST = UrlUtils.APIHTTP + "/shop/index.php?act=api&op=MyBrowse";//我的足迹

    public static final String DELETEMYVISIT = UrlUtils.APIHTTP + "/shop/index.php?act=api&op=DelBrowse";//删除我的足迹


    public static final String HOME_CLASS = UrlUtils.APIHTTP + "/api/index.php?act=index&op=josn_class";//获取首页分类

    public static String getHomeGoods(int curpage, int rows) {
        return UrlUtils.APIHTTP + "/api/index.php?act=goods&op=list&curpage=" + curpage + "&rows=" + rows;//获取首页商品信息
    }

    public static final String GOOD_DETAIL = UrlUtils.APIHTTP + "/api/index.php?act=goods&op=detail";//获取首页分类
    public static final String ADDTOCART = UrlUtils.APIHTTP + "/shop/index.php?act=api&op=AddGoodsCart";//获取首页分类
    public static final String CART = UrlUtils.APIHTTP + "/api/index.php?act=cart&op=index";//获取首页分类
    public static final String CART_MA = UrlUtils.APIHTTP + "/shop/index.php?act=api&op=MyCartsList";//获取首页分类
    public static final String AutoChangeCartGoodsNum = UrlUtils.APIHTTP + "/shop/index.php?act=api&op=AutoChangeCartGoodsNum";//自动加减商品数量
    public static final String ResetCartGoodsNum = UrlUtils.APIHTTP + "/shop/index.php?act=api&op=ResetCartGoodsNum";//重置购物车商品数量
    public static final String MarkCartGoods = UrlUtils.APIHTTP + "/shop/index.php?act=api&op=MarkCartGoods";//标记购物车商品
    public static final String DelCartGoods  = UrlUtils.APIHTTP + "/shop/index.php?act=api&op=DelCartGoods";//删除购物车商品
    public static final String MyBrowse  = UrlUtils.APIHTTP + "/shop/index.php?act=api&op=MyBrowse";//我的足迹

    /**
     * 沂蒙url
     */
    public static final String BASEHTTP = APIHTTP;
    public static final String ADLIST = BASEHTTP + "/inter.php?s=Article/Adlist";
    public static final String GETCATE = BASEHTTP + "/inter.php?s=Article/getCate";
    public static final String SLIDELIST = BASEHTTP + "/inter.php?s=Article/Slidelist";
    public static final String SPECS = BASEHTTP + "/inter.php?s=Article/specs";
    public static final String LISTS = BASEHTTP + "/inter.php?s=Article/lists";
    public static final String ACLIST = BASEHTTP + "/inter.php?s=Article/Actilist";
    public static final String DETAIL = BASEHTTP + "/inter.php?s=Article/detail";
    public static final String SPECLIST = BASEHTTP + "/inter.php?s=Article/Speclist";
    public static final String Bmarklist = BASEHTTP + "/inter.php?s=Article/Bmarklist";
    public static final String GETTAGS = BASEHTTP + "/inter.php?s=Tags/getTags";
    public static final String UPTAGS = BASEHTTP + "/inter.php?s=Tags/upTags";
    public static final String COMMENT_ADD = BASEHTTP + "/inter.php?s=Comment/addc";
    public static final String COMMENT_LIST = BASEHTTP + "/inter.php?s=Comment/lists";
    public static final String GETCHILD = BASEHTTP + "/inter.php?s=Comment/getChild";
    public static final String DIANZAN = BASEHTTP + "/inter.php?s=Comment/dianzan";
    public static final String BMARK = BASEHTTP + "/inter.php?s=Article/Bmark";
    public static final String SEARCH = BASEHTTP + "/inter.php?s=Article/serach";
    public static final String NOTIFY = BASEHTTP + "/inter.php?s=Comment/notif";
    public static final String WEIDU = BASEHTTP + "/inter.php?s=Comment/weidu";
    public static final String SETSTATUS = BASEHTTP + "/inter.php?s=Comment/setstatus";
    public static final String GETCOUPONLIST = BASEHTTP + "/index.php/Home/Api/getCouponList";
    public static final String TICKCOUPON = BASEHTTP + "/index.php/Home/Api/tickCoupon";
    public static final String GETALLCOUPON = BASEHTTP + "/index.php/Home/Api/getAllCoupon";
    public static final String appUpdate = BASEHTTP + "/index.php/Home/Api/appUpdate";
    public static final String addBrowseLog = BASEHTTP + "/index.php/Home/Api/addBrowseLog";
    public static final String getBrowseLog = BASEHTTP + "/index.php/Home/Api/getBrowseLog";
    public static final String getAlertAdv  = BASEHTTP + "/index.php/Home/Api/getAlertAdv";
    public static final String delCoupon   = BASEHTTP + "/index.php/Home/Api/delCoupon";
    public static final String getAllCoupon    = BASEHTTP + "/index.php/Home/Api/getAllCoupon";
    public static final String getExpenselog     = BASEHTTP + "/index.php/Home/Api/getExpenselog";
    /*获取会员卡*/
    public static final String VIP_CARD =BASEHTTP+"/index.php/Home/Api/getTypeList";
    /*获取会员信息*/
    public static final String VIP_CARD_INFO =BASEHTTP+"/index.php/Home/Api/getTypeInfo";
    /*会员卡绑定*/
    public static final String VIP_CARD_REGIST =BASEHTTP+"/index.php/Home/Api/bindmembers";
    /*获取促销信息*/
    public static final String VIP_CARD_PROMOTION =BASEHTTP+"/index.php/Home/Api/getPromotion";
    /*获取全部所有会员卡*/
    public static final String VIP_CARD_GET_ALL_TYPE =BASEHTTP+"/index.php/Home/Api/getAlltype";
    /*获取积分详情*/
    public static final String VIP_CARD_GET_POINT =BASEHTTP+"/index.php/Home/Api/jifenList";
    /*获取会员卡信息*/
    public static final String VIP_CARD_MEMBRT_INFO =BASEHTTP+"/index.php/Home/Api/getMemberCardInfo";
    /*删除会员卡*/
    public static final String VIP_CARD_DELETE =BASEHTTP+"/index.php/Home/Api/delMemberCard";
    /*修改会员卡*/
    public static final String VIP_CARD_EDIT =BASEHTTP+"/index.php/Home/Api/editMemberCard ";
    /*我要爆料*/
    public static final String ADD_BID =BASEHTTP+"/index.php/Home/Api/addBid";
    /*我的爆料*/
    public static final String GET_BID =BASEHTTP+"/index.php/Home/Api/getBid";
    /*自定义会员卡*/
    public static final String CUSTOM_CARD =BASEHTTP+"/index.php/Home/Api/addprivatecard";
    /*意见反馈*/
    public static final String FEED_BACK =BASEHTTP+"/index.php/Home/Api/addFeedback";
}
